package com.serverA;

import io.seata.spring.annotation.datasource.EnableAutoDataSourceProxy;
import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.cloud.openfeign.EnableFeignClients;

/**
 * @Author: wbk
 * @Date: 2024/2/29  16:43
 * @Description:
 */
@SpringBootApplication
@EnableDiscoveryClient
@MapperScan(basePackages = "com.serverA.mapper")
@EnableFeignClients(basePackages = "com.serverA.*")
@EnableAutoDataSourceProxy
public class ServerABootStarter {
    public static void main(String[] args) {
        SpringApplication.run(ServerABootStarter.class,args);
    }
}
